package descentFly.away3D4.chips.body
{
	import away3d.containers.ObjectContainer3D;
	import away3d.entities.Mesh;
	import away3d.tools.utils.Bounds;
	
	import descentFly.away3D4.chips.df_chipSkin;
	
	import flash.geom.Matrix3D;
	import flash.geom.Vector3D;
	
	import jiglib.data.CollOutData;
	import jiglib.geometry.JSegment;
	import jiglib.geometry.JSphere;
	import jiglib.math.JMatrix3D;
	import jiglib.physics.PhysicsState;
	import jiglib.physics.RigidBody;
	import jiglib.plugin.ISkin3D;
	import jiglib.plugin.away3d4.Away3D4Mesh;
	import jiglib.vehicles.JChassis;
	
	public class JChipSphere extends JSphere {
		public function JChipSphere(_model: ObjectContainer3D, chipSkin: df_chipSkin) {
			Bounds.getObjectContainerBounds(_model);
			super(chipSkin, Math.max(Bounds.width, Math.max(Bounds.depth, Bounds.height)) * 0.5);
			friction  	= 0;
			//restitution = 0;
		}
		
	}
}